home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr48
/
lightpen.zip
/
LIGHTPEN.DOC
< prev
next >
Wrap
Text File
|
1993-06-24
|
2KB
|
55 lines
Lightpen Pascal
------------------
This is only a small unit, that will (hopefully) enable you of using
a light pen in your programs.
Now, when you write your program's menu etc, you can add a lightpen as well
as a mouse or a keyboard device.
procedures and functions
---------------------------
Function PenOn:Boolean - returns TRUE if pen is on, else FALSE.
Function PenOff:Boolean - returns TRUE of pen is off, else FALSE.
Procedure GetPenPos(Row,Col:Integer) - Get pen's position and move it to
Row,Col.
Function XpenPos:Integer - return the X value of pen.
Function YpenPos:Integer - return the Y value of pen.
That's all.. realy simple..
The files
----------
Lightpen.doc - this doc file.
lp6.tpu - turbo pascal 6.0 unit.
lp55.tpu - turbo pascal 5.5 unit.
you can copy, distribute etc., this file freely.
I don't know if this program works, since I don't have a lightpen, but
since it is based on interrupts I assume it will work fine.
Copyright
-----------
The unit is distributed as FREEWARE. However, you are NOT allowed to modify
IN ANY WAY the above files. If you wish to have the SOURCE CODE, please send
me $5 + Mail fee. If you find yourself using this unit, PLEASE contact me
and TELL me. All you have to do is CALL, or send a POSTCARD, or drop me
NETMAIL.
Contacting the author:
-----------------------
Mail: 46 Bantam Dr.
Blairgowrie
2194
Randburg
South Africa
Phone: South Africa: (011)-787 8093
International: +12-11-787-8093
Netmail: The CATACOMB BBS - 5:7101/45 (fidonet)
The Catacomb BBS - 80:80/100 (pipemail)
Any may the force be with you!